/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package neuronalenetzeelearning.view.controlpanel;

import java.awt.Dimension;
import javax.swing.JFrame;
import javax.swing.JPanel;

/**
 *
 * @author Mariele
 */
public class NavigationPanelPreviousEnd extends NavigationPanel {

    public NavigationPanelPreviousEnd(){
        super();
        this.add(this.previous, this.constraints);
        this.add(this.end, this.constraints);
    }

    public JPanel getPanel() {
        return this;
    }

    public static void main (String [] args){
        JFrame frame = new JFrame();
        frame.setPreferredSize(new Dimension(400, 400));
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.add(new NavigationPanelNextPrevious().getPanel());
        frame.pack();
        frame.setVisible(true);
    }
}
